package com.woniuxy.bookmallmanagersrever.entity;

import javax.persistence.*;

/**
 * 表名：t_street
*/
@Table(name = "t_street")
public class TStreet {
    private String code;

    private String name;

    @Column(name = "areaCode")
    private String areacode;

    @Column(name = "provinceCode")
    private String provincecode;

    @Column(name = "cityCode")
    private String citycode;

    /**
     * @return code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * @return areacode
     */
    public String getAreacode() {
        return areacode;
    }

    /**
     * @param areacode
     */
    public void setAreacode(String areacode) {
        this.areacode = areacode == null ? null : areacode.trim();
    }

    /**
     * @return provincecode
     */
    public String getProvincecode() {
        return provincecode;
    }

    /**
     * @param provincecode
     */
    public void setProvincecode(String provincecode) {
        this.provincecode = provincecode == null ? null : provincecode.trim();
    }

    /**
     * @return citycode
     */
    public String getCitycode() {
        return citycode;
    }

    /**
     * @param citycode
     */
    public void setCitycode(String citycode) {
        this.citycode = citycode == null ? null : citycode.trim();
    }
}